<!DOCTYPE html>
<html>

<head>
    <title>{$book.name}</title>
    <link href="{$Think.config._index_}css/bookdetails300-78f2eec4a6.css" rel="stylesheet" type="text/css"/>
    <script src="{$Think.config._index_}js/jquery-1-22e85f4f06.12.4.min.js"></script>
</head>

<body id="content" data-isLogin="false">
<!-- header -->
{include file="public/header"}

<!-- 平滑过渡header -->
{include file="public/side"}
<!-- slider -->
<!-- 书籍简介 -->
<div class="boxCenter bookIntro">
    <a href="/index/book/bookInfo/book_id/{$book.id}" class="bookImg" target="_blank">
        <img src="{$book.cover}" data-src="{$book.cover}" />
    </a>

    <!--<a href="javascript:void(0);" target="_blank" class="vip"></a>-->

    <div>
        <div class="bookNm">
            <a href="/index/book/bookInfo/book_id/{$book.id}" class="bkNm" target="_blank">{$book.name}</a>
            <a href="/index/book/bookInfo/book_id/{$book.id}" target="_blank">{$book.author} 著</a>
        </div>
        <input type="hidden" name="book_id" value="{$book.id}">
        <div class="sortList">

            <a  target="_blank" class="">{if $book.complete eq 1}完本{else/}连载中{/if}</a>

        </div>
        <div class="datum">
            <span><em>{$book.words}&nbsp;</em>字</span>
            <hr />
            <!--<span><em>4781.1万</em>总人气</span>-->
            <!--<hr />-->
            <span><em>{$recommend}&nbsp;</em>总推荐</span>
            <hr />
            <span><em>{$book.book_pv} &nbsp;</em>次点击</span>
        </div>
        <p>
           {$book.descr}
        </p>
        <div class="readBtn">
            <a href="/index/chapter/read/book_id/{$book.id}" class="read" target="_blank">点击阅读</a>

            <a href="/index/book/directory/book_id/{$book.id}" target="_blank">目录</a>

            <!--<a href="javascript:void(0);" class="shujia" data-bookid='711249'>加入书架</a>-->

        </div>
    </div>
    <!-- 闭合的二维码 -->
    <!--<span class="QrCode"></span>-->
    <!-- 二维码 -->
    <!--<span class="wholeCode hidden"><i></i>扫一扫，手机阅读</span>-->
</div>

<!-- 最近更新,评论 -->
<div class="boxCenter renewal clearfix">


    <div class="lf">
        <!-- 最新更新 -->
        <h1><span>最新更新</span></h1>
        <div class="newUpdate">
            <a href="javascript:;">&nbsp;&nbsp;&nbsp;{$newChapter.name}&nbsp;&nbsp;</a>
            <span>更新时间：{$newChapter.update}</span>

        </div>

        <!-- 推荐票， 打赏 -->
        <div class="clearfix">

            <div class="bang tuijian tjard">
                <h2>
                    <span><i></i>推荐票</span>
                </h2>
                <span class="piao"><em id="tp">{$recommend}</em>&nbsp;票</span>
                <span class="paiming">&nbsp;</span>
                <a href="javascript:void(0);" id="votes">投推荐票</a>
                <span class="shmi">1人/票</span>
            </div>

            <div class="bang dashang">
                <h2>
                    <span><i></i>打赏</span>
                </h2>
                <span class="piao">&nbsp;<em id="ds">{$exceptional}</em>&nbsp;金币</span>
                <a href="javascript:void(0);" class="dasang" data-bookid="711249">去打赏</a>
                <span class="shmi">5金币/次</span>
            </div>



            <div class="bang daren dsdr">

                <h2>
                    <span><i></i>作者书籍</span>
                </h2>

                {volist name="authorBook" id="vo"}
                <div class="darenbang clearfix">
                    <div class="">
                        <img src="{$vo.cover}" data-src="{$vo.cover}" />
                    </div>
                        <span onclick='window.open("/index/book/bookInfo/book_id/{$vo.id}")'>&nbsp;&nbsp;{$vo.name}</span>
                </div>
                {/volist}

            </div>
        </div>


        <!-- 喜欢读的人也在读 -->
        <h1 class="readLk"><span>喜欢这本书的人还喜欢</span></h1>
        <div class="likeRead clearfix">

            {volist name="bookRecommend" id="vo"}
            <a href="/index/book/bookInfo/book_id/{$vo.id}" target="_blank" {if $i eq 5} class=" last "{else/} class="" {/if}>
                <div class="bookImg">
                    <img src="{$vo.cover}" data-src="{$vo.cover}" />
                </div>
                <h3>{$vo.name}</h3>
                <span>{$vo.author}</span>
            </a>
            {/volist}
        </div>
        <br>
        <br>
        <br>


        <!-- 占位 -->
        <!--<div class="bannerAll">-->
            <!--<a href="http://www.tadu.com/book/490107/" target="_blank">-->
                <!--<img src="picture/683de783e82d4100a9b648a0c8bd9df0.jpg" />-->
            <!--</a>-->
        <!--</div>-->

        <div id ="consume_comment">

        </div>
    </div>

    <!-- 作者 + 推荐 -->
    <div id="author_recommend" class="rt">

        <!-- 作者简介 -->
        <div class="blc authors">
            <div class="clearfix">
                <a target="_blank"  class="touxiang"><img src="{$authorInfo.head_img}" data-src="{$authorInfo.head_img}"></a>
                <div class="name">
                    <a  target="_blank">{$authorInfo.pen_name}</a>
                    <span></span>
                    <i></i>
                </div>
            </div>
            <p>{$authorInfo.descr}</p>
        </div>

        <!-- 其他作品 -->


        <!-- 主编推荐 -->
        <div class="blc zuopin zhubian">
            <h2><i></i>站点推荐</h2>
            {volist name="siteRecommend" id="vo"}
            <a href="/index/book/bookInfo/book_id/{$vo.id}" target="_blank" class="clearfix">
                <div class="bookImg">
                    <img src="{$vo.cover}" data-src="{$vo.cover}">
                </div>
                <div class="book">
                    <h3>{$vo.name}</h3>
                    <span>{$vo.author}</span>
                    <p>{$vo.descr}</p>
                </div>
            </a>
            {/volist}
        </div>
    </div>

</div>
<!-- 客服中心 -->
<div class="boxCenter boutique stmSv" style="background:#fff;">
    <div class="stmTitle">
        客<br>服<br>中<br>心
    </div>
    <div class="aboutTadu">
        <span>客服电话：{$footer.phone}</span>
        <span>商务合作：{$footer.contact}</span>
    </div>
    <div class="aboutTadu aboutM">
        <span>在线客服：<a href="http://wpa.qq.com/msgrd?v=3&amp;uin={$footer.qq}&amp;site=qq&amp;menu=yes" target="_blank">开始交谈</a></span>
        <span>上班时间：{$footer.work}</span>
    </div>
    <!--<div class="aboutTadu aboutB">
        <span>微信公众号：辰星中文网</span>
        <span>新浪微博：辰星中文网</span>
    </div>-->
</div>
<!--&lt;!&ndash; footer &ndash;&gt;-->
<!--<div class="footer">-->
    <!--<div class="boxCenter footWrap">-->
        <!--<div class="friendLink">-->
            <!--<h1>友情链接：</h1>-->
            <!--<span>合作QQ:10923209</span>-->
            <!--&lt;!&ndash;<div>&ndash;&gt;-->
            <!--&lt;!&ndash;<a href="http://www.170.com" target="_blank">天音移动</a>&ndash;&gt;-->
            <!--&lt;!&ndash;  <a href="http://yc.ireader.com.cn/" target="_blank">掌阅小说网</a>-->
              <!--<a href="http://www.sweetread.net" target="_blank">甜悦读文学</a>-->
              <!--<a href="http://www.yuedufang.com" target="_blank">悦读坊文学网</a>-->
              <!--<a href="http://www.fbook.net" target="_blank">天下书盟</a>-->
              <!--<a href="http://yuedu.163.com/yc" target="_blank">网易原创小说</a>-->
              <!--<a href="http://www.baokan.name" target="_blank">爆侃网文</a>-->
              <!--<a href="http://b.faloo.com" target="_blank">飞卢小说网</a>-->
              <!--<a href="http://www.cqzww.com" target="_blank">传奇中文网</a>-->
              <!--<a href="http://www.iciyuan.com/" target="_blank">iCiyuan轻小说</a>-->
              <!--<a href="http://www.yokong.com/" target="_blank">悠空网</a>-->
              <!--<a href="http://www.luochen.com/" target="_blank">落尘文学</a>-->
              <!--<a href="http://www.yiyuetop.com/" target="_blank">颐阅</a>-->
              <!--<a href="http://www.tenghen.com/" target="_blank">藤痕书院</a>-->
              <!--<a href="http://www.alphafun.com/index.htm" target="_blank">天翼原创</a> &ndash;&gt;-->
            <!--&lt;!&ndash;</div>&ndash;&gt;-->
        <!--</div>-->
    <!--</div></div>-->
<!--&lt;!&ndash; footer &ndash;&gt;-->
</body>
<script src="{$Think.config._index_}js/lazyload300-8ed982d92e.js"></script>
<script src="{$Think.config._index_}js/common300-4cd819d344.js"></script>
<script src="{$Think.config._index_}js/bookdetails300-c04eff92e8.js"></script>
<script src="{$Think.config._index_}js/second_header_userinfo-589af58437.js"></script>
<script src="{$Think.config._index_}js/book_cover_v3-3487e3adb2.js"></script>
<script>
    $(".dasang").click(function(){
        var book_id = $('input[name="book_id"]').val();
        // alert(book_id);
       $.post("/index/book/except",{book_id:book_id},function(data){
            if(data.state === 200){
                alert("打赏成功");
                $("#ds").html(data.exceptional);
            }else{
                alert(data.msg);
            }
       });
    });
    $("#votes").click(function(){
        var book_id = $('input[name="book_id"]').val();
        $.post("/index/book/recom",{book_id:book_id},function(data){
            // console.log(data);
            if(data.state === 200){
                alert("投票成功");
                $("#tp").html(data.rem);
            }else{
                alert(data.msg);

            }
        });
    });
</script>
</html>
